package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * 新开客户筛选条件
 */
@ApiModel(description = "新开客户筛选条件")
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class NewOpenCustomerFilter   {
  @JsonProperty("search")
  private String search = null;

  @JsonProperty("isStore")
  private String isStore = null;

  @JsonProperty("isIncome")
  private String isIncome = null;

  @JsonProperty("isTrade")
  private String isTrade = null;

  @JsonProperty("tradeNum")
  private String tradeNum = null;

  @JsonProperty("capitalIncome")
  private String capitalIncome = null;

  public NewOpenCustomerFilter search(String search) {
    this.search = search;
    return this;
  }

  /**
   * 模糊搜索 姓名迷糊,手机号码以及客户号精确搜索
   * @return search
  **/
  @ApiModelProperty(example = "80000001718", value = "模糊搜索 姓名迷糊,手机号码以及客户号精确搜索")


  public String getSearch() {
    return search;
  }

  public void setSearch(String search) {
    this.search = search;
  }

  public NewOpenCustomerFilter isStore(String isStore) {
    this.isStore = isStore;
    return this;
  }

  /**
   * 是否服务，1 服务；0未服务
   * @return isStore
  **/
  @ApiModelProperty(example = "1", value = "是否服务，1 服务；0未服务")


  public String getIsStore() {
    return isStore;
  }

  public void setIsStore(String isStore) {
    this.isStore = isStore;
  }

  public NewOpenCustomerFilter isIncome(String isIncome) {
    this.isIncome = isIncome;
    return this;
  }

  /**
   * 是否入金，1:已入金；0:未入金
   * @return isIncome
  **/
  @ApiModelProperty(example = "1", value = "是否入金，1:已入金；0:未入金")


  public String getIsIncome() {
    return isIncome;
  }

  public void setIsIncome(String isIncome) {
    this.isIncome = isIncome;
  }

  public NewOpenCustomerFilter isTrade(String isTrade) {
    this.isTrade = isTrade;
    return this;
  }

  /**
   * 是否交易，1:已交易；0:未交易
   * @return isTrade
  **/
  @ApiModelProperty(example = "1", value = "是否交易，1:已交易；0:未交易")


  public String getIsTrade() {
    return isTrade;
  }

  public void setIsTrade(String isTrade) {
    this.isTrade = isTrade;
  }

  public NewOpenCustomerFilter tradeNum(String tradeNum) {
    this.tradeNum = tradeNum;
    return this;
  }

  /**
   * 交易量 1小于1万; 2 1万至10万;3 10万至50万; 4 大于50万
   * @return tradeNum
  **/
  @ApiModelProperty(example = "1", value = "交易量 1小于1万; 2 1万至10万;3 10万至50万; 4 大于50万")


  public String getTradeNum() {
    return tradeNum;
  }

  public void setTradeNum(String tradeNum) {
    this.tradeNum = tradeNum;
  }

  public NewOpenCustomerFilter capitalIncome(String capitalIncome) {
    this.capitalIncome = capitalIncome;
    return this;
  }

  /**
   * 资产流入情况， 1小于1万; 2 1万至10万;3 10万至50万; 4 大于50万
   * @return capitalIncome
  **/
  @ApiModelProperty(example = "1", value = "资产流入情况， 1小于1万; 2 1万至10万;3 10万至50万; 4 大于50万")


  public String getCapitalIncome() {
    return capitalIncome;
  }

  public void setCapitalIncome(String capitalIncome) {
    this.capitalIncome = capitalIncome;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    NewOpenCustomerFilter newOpenCustomerFilter = (NewOpenCustomerFilter) o;
    return Objects.equals(this.search, newOpenCustomerFilter.search) &&
        Objects.equals(this.isStore, newOpenCustomerFilter.isStore) &&
        Objects.equals(this.isIncome, newOpenCustomerFilter.isIncome) &&
        Objects.equals(this.isTrade, newOpenCustomerFilter.isTrade) &&
        Objects.equals(this.tradeNum, newOpenCustomerFilter.tradeNum) &&
        Objects.equals(this.capitalIncome, newOpenCustomerFilter.capitalIncome);
  }

  @Override
  public int hashCode() {
    return Objects.hash(search, isStore, isIncome, isTrade, tradeNum, capitalIncome);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class NewOpenCustomerFilter {\n");
    
    sb.append("    search: ").append(toIndentedString(search)).append("\n");
    sb.append("    isStore: ").append(toIndentedString(isStore)).append("\n");
    sb.append("    isIncome: ").append(toIndentedString(isIncome)).append("\n");
    sb.append("    isTrade: ").append(toIndentedString(isTrade)).append("\n");
    sb.append("    tradeNum: ").append(toIndentedString(tradeNum)).append("\n");
    sb.append("    capitalIncome: ").append(toIndentedString(capitalIncome)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

